package com.yunhoo.govProcure.bean;

import com.yunhoo.sys.util.common.FacesUtils;
import com.yunhoo.sys.util.common.NavigationTool;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean(name = "unCheckViewBean")
@SessionScoped
public class UnCheckViewBean implements Serializable {

    public void query() { 

        ProcureBudgetCheckBean budgetCheckBean = (ProcureBudgetCheckBean) FacesUtils.getManagedBean("budgetCheckGovBean");
        ProcureExecCheckBean execCheckBean = (ProcureExecCheckBean) FacesUtils.getManagedBean("executCheckBean");
        ProcurePlanCheckBean planCheckBean = (ProcurePlanCheckBean) FacesUtils.getManagedBean("planCheckGovBean");

        budgetCheckBean.initViewList();
        execCheckBean.initViewList();
        planCheckBean.initViewList();

    }


    /* 查看待审批 */
    public void showGovChecks() {
        NavigationTool.getSelectedUrl("/page/govProcure/check/checkView.xhtml");
    }
}
